package com.smart.buss.service.impl;

import com.smart.buss.dao.BussTongjiTaskMapper;
import com.smart.buss.service.BussTongjiTaskService;
import com.smart.buss.vo.BussTongjiTask;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;

@Service
public class BussTongjiTaskServiceImpl implements BussTongjiTaskService {

	@Resource
	private BussTongjiTaskMapper bussTongjiTaskMapper;

	@Override
	public BussTongjiTask queryObject(BussTongjiTask entity) throws Exception {
		return bussTongjiTaskMapper.queryObject(entity);
	}

	@Override
	public List<BussTongjiTask> queryList(BussTongjiTask entity) throws Exception {
		return bussTongjiTaskMapper.queryList(entity);
	}

	@Override
	public List<BussTongjiTask> queryListByPage(BussTongjiTask entity) throws Exception {
		return bussTongjiTaskMapper.queryListByPage(entity);
	}

	@Override
	public Integer queryCount(BussTongjiTask entity) throws Exception {
		return bussTongjiTaskMapper.queryCount(entity);
	}

	@Override
	public Integer insert(BussTongjiTask entity) throws Exception {
		return bussTongjiTaskMapper.insert(entity);
	}

	@Override
	public Integer update(BussTongjiTask entity) throws Exception {
		return bussTongjiTaskMapper.update(entity);
	}

	@Override
	public Integer delete(String id) throws Exception {
		return bussTongjiTaskMapper.delete(id);
	}
}
